package com.res.service;

import com.res.entity.Readroom;

import java.util.List;

public interface ReadRoomService  {
    /**
     * 查询所有机房
     * @return
     */
    List<Readroom> findAllReadRoom();

    /**
     * 查询一共多少机房
     * @return
     */
    long countReadRoom();
    /**
     * 添加机房
     * @param readroom
     * @return
     */
    Integer addReadRomm(Readroom readroom);

    /**
     * 修改机房
     * @param readroom
     * @return
     */
  //  Integer updateReadRoom(Readroom readroom);

    /**
     * 删除机房
     * @param rid
     * @return
     */
    Integer deleteReadRoom(Integer rid);
}
